namespace DesignPattern.Behavioral.Command
{
    public class CommandPattern
    {
        public static void Test()
        {
            ICommand command = new TurnOnCommand();
            command.Execute();

            command = new TurnOffCommand();
            command.Execute();
        }
    }
}